package com.ourteam.workspace.dao;
/**
 * Template Name : DAO数据对象 Template Version : 1 Template Last Modfiy Date : Fri Aug 18 15:51:23 CST
 * 2017 Auto Generate Date : 2018-11-30 18:42:28 Warning ! This file will be overwrite when
 * regenerate !
 */
import org.apache.commons.lang.StringUtils;

public class WorkspaceResourceUIPageRelate implements java.io.Serializable {

  public WorkspaceResourceUIPageRelate() {
    super();
  }

  private long id;

  /** Attribute id Be Seted Falg */
  private boolean idSetted = false;

  /** Attribute id is Null Falg */
  private boolean idNull = false;

  /**
   * Get id
   *
   * @return long
   */
  public final long getId() {

    return id;
  }

  /**
   * Set id
   *
   * @param long
   */
  public final void setId(long id) {

    this.id = id;

    this.idSetted = true;

    this.setIdNull(false);
  }

  /**
   * Get id Has Been Setted
   *
   * @return boolean
   */
  public final boolean isIdSetted() {
    return this.idSetted;
  }

  /** Set id Null */
  public final void setIdNull() {

    this.idNull = true;
  }

  public final void setIdNull(boolean aNullFlag) {

    this.idNull = aNullFlag;
  }

  public final boolean isIdNull() {

    return this.idNull;
  }

  private long workspaceResourceId;

  /** Attribute workspaceResourceId Be Seted Falg */
  private boolean workspaceResourceIdSetted = false;

  /** Attribute workspaceResourceId is Null Falg */
  private boolean workspaceResourceIdNull = false;

  /**
   * Get workspaceResourceId
   *
   * @return long
   */
  public final long getWorkspaceResourceId() {

    return workspaceResourceId;
  }

  /**
   * Set workspaceResourceId
   *
   * @param long
   */
  public final void setWorkspaceResourceId(long workspaceResourceId) {

    this.workspaceResourceId = workspaceResourceId;

    this.workspaceResourceIdSetted = true;

    this.setWorkspaceResourceIdNull(false);
  }

  /**
   * Get workspaceResourceId Has Been Setted
   *
   * @return boolean
   */
  public final boolean isWorkspaceResourceIdSetted() {
    return this.workspaceResourceIdSetted;
  }

  /** Set workspaceResourceId Null */
  public final void setWorkspaceResourceIdNull() {

    this.workspaceResourceIdNull = true;
  }

  public final void setWorkspaceResourceIdNull(boolean aNullFlag) {

    this.workspaceResourceIdNull = aNullFlag;
  }

  public final boolean isWorkspaceResourceIdNull() {

    return this.workspaceResourceIdNull;
  }

  private long uiPageId;

  /** Attribute uiPageId Be Seted Falg */
  private boolean uiPageIdSetted = false;

  /** Attribute uiPageId is Null Falg */
  private boolean uiPageIdNull = false;

  /**
   * Get uiPageId
   *
   * @return long
   */
  public final long getUiPageId() {

    return uiPageId;
  }

  /**
   * Set uiPageId
   *
   * @param long
   */
  public final void setUiPageId(long uiPageId) {

    this.uiPageId = uiPageId;

    this.uiPageIdSetted = true;

    this.setUiPageIdNull(false);
  }

  /**
   * Get uiPageId Has Been Setted
   *
   * @return boolean
   */
  public final boolean isUiPageIdSetted() {
    return this.uiPageIdSetted;
  }

  /** Set uiPageId Null */
  public final void setUiPageIdNull() {

    this.uiPageIdNull = true;
  }

  public final void setUiPageIdNull(boolean aNullFlag) {

    this.uiPageIdNull = aNullFlag;
  }

  public final boolean isUiPageIdNull() {

    return this.uiPageIdNull;
  }

  private java.util.Date lastGenCodeTime;

  /** Attribute lastGenCodeTime Be Seted Falg */
  private boolean lastGenCodeTimeSetted = false;

  /** Attribute lastGenCodeTime is Null Falg */
  private boolean lastGenCodeTimeNull = false;

  /**
   * Get lastGenCodeTime
   *
   * @return java.util.Date
   */
  public final java.util.Date getLastGenCodeTime() {

    return lastGenCodeTime;
  }

  /**
   * Set lastGenCodeTime
   *
   * @param java.util.Date
   */
  public final void setLastGenCodeTime(java.util.Date lastGenCodeTime) {

    this.lastGenCodeTime = lastGenCodeTime;

    this.lastGenCodeTimeSetted = true;

    this.setLastGenCodeTimeNull(this.lastGenCodeTime == null);
  }

  /**
   * Get lastGenCodeTime Has Been Setted
   *
   * @return boolean
   */
  public final boolean isLastGenCodeTimeSetted() {
    return this.lastGenCodeTimeSetted;
  }

  /** Set lastGenCodeTime Null */
  public final void setLastGenCodeTimeNull() {

    this.lastGenCodeTimeNull = true;
  }

  public final void setLastGenCodeTimeNull(boolean aNullFlag) {

    this.lastGenCodeTimeNull = aNullFlag;
  }

  public final boolean isLastGenCodeTimeNull() {

    return this.lastGenCodeTimeNull;
  }

  private long submitterId;

  /** Attribute submitterId Be Seted Falg */
  private boolean submitterIdSetted = false;

  /** Attribute submitterId is Null Falg */
  private boolean submitterIdNull = false;

  /**
   * Get submitterId
   *
   * @return long
   */
  public final long getSubmitterId() {

    return submitterId;
  }

  /**
   * Set submitterId
   *
   * @param long
   */
  public final void setSubmitterId(long submitterId) {

    this.submitterId = submitterId;

    this.submitterIdSetted = true;

    this.setSubmitterIdNull(false);
  }

  /**
   * Get submitterId Has Been Setted
   *
   * @return boolean
   */
  public final boolean isSubmitterIdSetted() {
    return this.submitterIdSetted;
  }

  /** Set submitterId Null */
  public final void setSubmitterIdNull() {

    this.submitterIdNull = true;
  }

  public final void setSubmitterIdNull(boolean aNullFlag) {

    this.submitterIdNull = aNullFlag;
  }

  public final boolean isSubmitterIdNull() {

    return this.submitterIdNull;
  }

  private String submitterName;

  /** Attribute submitterName Be Seted Falg */
  private boolean submitterNameSetted = false;

  /** Attribute submitterName is Null Falg */
  private boolean submitterNameNull = false;

  /**
   * Get submitterName
   *
   * @return String
   */
  public final String getSubmitterName() {

    if (isSubmitterNameNull()) {
      return null;
    } else {
      return StringUtils.trim(submitterName);
    }
  }

  /**
   * Set submitterName
   *
   * @param String
   */
  public final void setSubmitterName(String submitterName) {

    this.submitterName = StringUtils.trim(submitterName);

    this.submitterNameSetted = true;

    this.setSubmitterNameNull(this.submitterName == null);
  }

  /**
   * Get submitterName Has Been Setted
   *
   * @return boolean
   */
  public final boolean isSubmitterNameSetted() {
    return this.submitterNameSetted;
  }

  /** Set submitterName Null */
  public final void setSubmitterNameNull() {

    this.submitterNameNull = true;
  }

  public final void setSubmitterNameNull(boolean aNullFlag) {

    this.submitterNameNull = aNullFlag;
  }

  public final boolean isSubmitterNameNull() {

    return this.submitterNameNull;
  }

  private String status;

  /** Attribute status Be Seted Falg */
  private boolean statusSetted = false;

  /** Attribute status is Null Falg */
  private boolean statusNull = false;

  /**
   * Get status
   *
   * @return String
   */
  public final String getStatus() {

    if (isStatusNull()) {
      return null;
    } else {
      return StringUtils.trim(status);
    }
  }

  /**
   * Set status
   *
   * @param String
   */
  public final void setStatus(String status) {

    this.status = StringUtils.trim(status);

    this.statusSetted = true;

    this.setStatusNull(this.status == null);
  }

  /**
   * Get status Has Been Setted
   *
   * @return boolean
   */
  public final boolean isStatusSetted() {
    return this.statusSetted;
  }

  /** Set status Null */
  public final void setStatusNull() {

    this.statusNull = true;
  }

  public final void setStatusNull(boolean aNullFlag) {

    this.statusNull = aNullFlag;
  }

  public final boolean isStatusNull() {

    return this.statusNull;
  }

  private String remarks;

  /** Attribute remarks Be Seted Falg */
  private boolean remarksSetted = false;

  /** Attribute remarks is Null Falg */
  private boolean remarksNull = false;

  /**
   * Get remarks
   *
   * @return String
   */
  public final String getRemarks() {

    if (isRemarksNull()) {
      return null;
    } else {
      return StringUtils.trim(remarks);
    }
  }

  /**
   * Set remarks
   *
   * @param String
   */
  public final void setRemarks(String remarks) {

    this.remarks = StringUtils.trim(remarks);

    this.remarksSetted = true;

    this.setRemarksNull(this.remarks == null);
  }

  /**
   * Get remarks Has Been Setted
   *
   * @return boolean
   */
  public final boolean isRemarksSetted() {
    return this.remarksSetted;
  }

  /** Set remarks Null */
  public final void setRemarksNull() {

    this.remarksNull = true;
  }

  public final void setRemarksNull(boolean aNullFlag) {

    this.remarksNull = aNullFlag;
  }

  public final boolean isRemarksNull() {

    return this.remarksNull;
  }

  private String resourcePath;

  /** Attribute resourcePath Be Seted Falg */
  private boolean resourcePathSetted = false;

  /** Attribute resourcePath is Null Falg */
  private boolean resourcePathNull = false;

  /**
   * Get resourcePath
   *
   * @return String
   */
  public final String getResourcePath() {

    if (isResourcePathNull()) {
      return null;
    } else {
      return StringUtils.trim(resourcePath);
    }
  }

  /**
   * Set resourcePath
   *
   * @param String
   */
  public final void setResourcePath(String resourcePath) {

    this.resourcePath = StringUtils.trim(resourcePath);

    this.resourcePathSetted = true;

    this.setResourcePathNull(this.resourcePath == null);
  }

  /**
   * Get resourcePath Has Been Setted
   *
   * @return boolean
   */
  public final boolean isResourcePathSetted() {
    return this.resourcePathSetted;
  }

  /** Set resourcePath Null */
  public final void setResourcePathNull() {

    this.resourcePathNull = true;
  }

  public final void setResourcePathNull(boolean aNullFlag) {

    this.resourcePathNull = aNullFlag;
  }

  public final boolean isResourcePathNull() {

    return this.resourcePathNull;
  }

  private String resourceType;

  /** Attribute resourceType Be Seted Falg */
  private boolean resourceTypeSetted = false;

  /** Attribute resourceType is Null Falg */
  private boolean resourceTypeNull = false;

  /**
   * Get resourceType
   *
   * @return String
   */
  public final String getResourceType() {

    if (isResourceTypeNull()) {
      return null;
    } else {
      return StringUtils.trim(resourceType);
    }
  }

  /**
   * Set resourceType
   *
   * @param String
   */
  public final void setResourceType(String resourceType) {

    this.resourceType = StringUtils.trim(resourceType);

    this.resourceTypeSetted = true;

    this.setResourceTypeNull(this.resourceType == null);
  }

  /**
   * Get resourceType Has Been Setted
   *
   * @return boolean
   */
  public final boolean isResourceTypeSetted() {
    return this.resourceTypeSetted;
  }

  /** Set resourceType Null */
  public final void setResourceTypeNull() {

    this.resourceTypeNull = true;
  }

  public final void setResourceTypeNull(boolean aNullFlag) {

    this.resourceTypeNull = aNullFlag;
  }

  public final boolean isResourceTypeNull() {

    return this.resourceTypeNull;
  }

  private long workspaceId;

  /** Attribute workspaceId Be Seted Falg */
  private boolean workspaceIdSetted = false;

  /** Attribute workspaceId is Null Falg */
  private boolean workspaceIdNull = false;

  /**
   * Get workspaceId
   *
   * @return long
   */
  public final long getWorkspaceId() {

    return workspaceId;
  }

  /**
   * Set workspaceId
   *
   * @param long
   */
  public final void setWorkspaceId(long workspaceId) {

    this.workspaceId = workspaceId;

    this.workspaceIdSetted = true;

    this.setWorkspaceIdNull(false);
  }

  /**
   * Get workspaceId Has Been Setted
   *
   * @return boolean
   */
  public final boolean isWorkspaceIdSetted() {
    return this.workspaceIdSetted;
  }

  /** Set workspaceId Null */
  public final void setWorkspaceIdNull() {

    this.workspaceIdNull = true;
  }

  public final void setWorkspaceIdNull(boolean aNullFlag) {

    this.workspaceIdNull = aNullFlag;
  }

  public final boolean isWorkspaceIdNull() {

    return this.workspaceIdNull;
  }

  private String pageCode;

  /** Attribute pageCode Be Seted Falg */
  private boolean pageCodeSetted = false;

  /** Attribute pageCode is Null Falg */
  private boolean pageCodeNull = false;

  /**
   * Get pageCode
   *
   * @return String
   */
  public final String getPageCode() {

    if (isPageCodeNull()) {
      return null;
    } else {
      return StringUtils.trim(pageCode);
    }
  }

  /**
   * Set pageCode
   *
   * @param String
   */
  public final void setPageCode(String pageCode) {

    this.pageCode = StringUtils.trim(pageCode);

    this.pageCodeSetted = true;

    this.setPageCodeNull(this.pageCode == null);
  }

  /**
   * Get pageCode Has Been Setted
   *
   * @return boolean
   */
  public final boolean isPageCodeSetted() {
    return this.pageCodeSetted;
  }

  /** Set pageCode Null */
  public final void setPageCodeNull() {

    this.pageCodeNull = true;
  }

  public final void setPageCodeNull(boolean aNullFlag) {

    this.pageCodeNull = aNullFlag;
  }

  public final boolean isPageCodeNull() {

    return this.pageCodeNull;
  }

  private String pageName;

  /** Attribute pageName Be Seted Falg */
  private boolean pageNameSetted = false;

  /** Attribute pageName is Null Falg */
  private boolean pageNameNull = false;

  /**
   * Get pageName
   *
   * @return String
   */
  public final String getPageName() {

    if (isPageNameNull()) {
      return null;
    } else {
      return StringUtils.trim(pageName);
    }
  }

  /**
   * Set pageName
   *
   * @param String
   */
  public final void setPageName(String pageName) {

    this.pageName = StringUtils.trim(pageName);

    this.pageNameSetted = true;

    this.setPageNameNull(this.pageName == null);
  }

  /**
   * Get pageName Has Been Setted
   *
   * @return boolean
   */
  public final boolean isPageNameSetted() {
    return this.pageNameSetted;
  }

  /** Set pageName Null */
  public final void setPageNameNull() {

    this.pageNameNull = true;
  }

  public final void setPageNameNull(boolean aNullFlag) {

    this.pageNameNull = aNullFlag;
  }

  public final boolean isPageNameNull() {

    return this.pageNameNull;
  }

  private long uiDomainId;

  /** Attribute uiDomainId Be Seted Falg */
  private boolean uiDomainIdSetted = false;

  /** Attribute uiDomainId is Null Falg */
  private boolean uiDomainIdNull = false;

  /**
   * Get uiDomainId
   *
   * @return long
   */
  public final long getUiDomainId() {

    return uiDomainId;
  }

  /**
   * Set uiDomainId
   *
   * @param long
   */
  public final void setUiDomainId(long uiDomainId) {

    this.uiDomainId = uiDomainId;

    this.uiDomainIdSetted = true;

    this.setUiDomainIdNull(false);
  }

  /**
   * Get uiDomainId Has Been Setted
   *
   * @return boolean
   */
  public final boolean isUiDomainIdSetted() {
    return this.uiDomainIdSetted;
  }

  /** Set uiDomainId Null */
  public final void setUiDomainIdNull() {

    this.uiDomainIdNull = true;
  }

  public final void setUiDomainIdNull(boolean aNullFlag) {

    this.uiDomainIdNull = aNullFlag;
  }

  public final boolean isUiDomainIdNull() {

    return this.uiDomainIdNull;
  }

  private String uiDomainName;

  /** Attribute uiDomainName Be Seted Falg */
  private boolean uiDomainNameSetted = false;

  /** Attribute uiDomainName is Null Falg */
  private boolean uiDomainNameNull = false;

  /**
   * Get uiDomainName
   *
   * @return String
   */
  public final String getUiDomainName() {

    if (isUiDomainNameNull()) {
      return null;
    } else {
      return StringUtils.trim(uiDomainName);
    }
  }

  /**
   * Set uiDomainName
   *
   * @param String
   */
  public final void setUiDomainName(String uiDomainName) {

    this.uiDomainName = StringUtils.trim(uiDomainName);

    this.uiDomainNameSetted = true;

    this.setUiDomainNameNull(this.uiDomainName == null);
  }

  /**
   * Get uiDomainName Has Been Setted
   *
   * @return boolean
   */
  public final boolean isUiDomainNameSetted() {
    return this.uiDomainNameSetted;
  }

  /** Set uiDomainName Null */
  public final void setUiDomainNameNull() {

    this.uiDomainNameNull = true;
  }

  public final void setUiDomainNameNull(boolean aNullFlag) {

    this.uiDomainNameNull = aNullFlag;
  }

  public final boolean isUiDomainNameNull() {

    return this.uiDomainNameNull;
  }

  private String uiDomainCode;

  /** Attribute uiDomainCode Be Seted Falg */
  private boolean uiDomainCodeSetted = false;

  /** Attribute uiDomainCode is Null Falg */
  private boolean uiDomainCodeNull = false;

  /**
   * Get uiDomainCode
   *
   * @return String
   */
  public final String getUiDomainCode() {

    if (isUiDomainCodeNull()) {
      return null;
    } else {
      return StringUtils.trim(uiDomainCode);
    }
  }

  /**
   * Set uiDomainCode
   *
   * @param String
   */
  public final void setUiDomainCode(String uiDomainCode) {

    this.uiDomainCode = StringUtils.trim(uiDomainCode);

    this.uiDomainCodeSetted = true;

    this.setUiDomainCodeNull(this.uiDomainCode == null);
  }

  /**
   * Get uiDomainCode Has Been Setted
   *
   * @return boolean
   */
  public final boolean isUiDomainCodeSetted() {
    return this.uiDomainCodeSetted;
  }

  /** Set uiDomainCode Null */
  public final void setUiDomainCodeNull() {

    this.uiDomainCodeNull = true;
  }

  public final void setUiDomainCodeNull(boolean aNullFlag) {

    this.uiDomainCodeNull = aNullFlag;
  }

  public final boolean isUiDomainCodeNull() {

    return this.uiDomainCodeNull;
  }

  public int hashCode() {
    final int prime = 31;
    int result = 1;

    result = prime * result + (int) (getId() ^ (getId() >>> 32));

    return result;
  }

  public boolean equals(Object obj) {

    if (obj == null) {
      return false;
    }
    if ((obj instanceof WorkspaceResourceUIPageRelate) == false) {
      return false;
    }
    WorkspaceResourceUIPageRelate other = (WorkspaceResourceUIPageRelate) obj;

    if (getId() != other.getId()) {
      return false;
    }

    return true;
  }

  public String toString() {

    StringBuffer buffer = new StringBuffer();

    buffer.append("[");

    buffer.append("id=");
    buffer.append(this.id);

    buffer.append("workspaceResourceId=");
    buffer.append(this.workspaceResourceId);

    buffer.append("uiPageId=");
    buffer.append(this.uiPageId);

    buffer.append("lastGenCodeTime=");
    buffer.append(this.lastGenCodeTime);

    buffer.append("submitterId=");
    buffer.append(this.submitterId);

    buffer.append("submitterName=");
    buffer.append(this.submitterName);

    buffer.append("status=");
    buffer.append(this.status);

    buffer.append("remarks=");
    buffer.append(this.remarks);

    buffer.append("resourcePath=");
    buffer.append(this.resourcePath);

    buffer.append("resourceType=");
    buffer.append(this.resourceType);

    buffer.append("workspaceId=");
    buffer.append(this.workspaceId);

    buffer.append("pageCode=");
    buffer.append(this.pageCode);

    buffer.append("pageName=");
    buffer.append(this.pageName);

    buffer.append("uiDomainId=");
    buffer.append(this.uiDomainId);

    buffer.append("uiDomainCode=");
    buffer.append(this.uiDomainCode);

    buffer.append("uiDomainName=");
    buffer.append(this.uiDomainName);

    buffer.append("]");

    return buffer.toString();
  }
}
